package com.jiayang.hhotel.presenter;

import com.jiayang.hhotel.bean.ContractDisCountModel;
import com.jiayang.hhotel.ui.ContractDisCountActivity;

import java.util.ArrayList;
import java.util.List;

import cn.droidlover.xdroidmvp.mvp.XPresent;

/**
 * Created by Administrator on 2017/5/27 0027.
 * 合同折扣逻辑类
 */

public class ContractDisCountPresenter extends XPresent<ContractDisCountActivity> {
    public void asyncLoad(){
        List<ContractDisCountModel.PTaContractDisListDtoBean> list=new ArrayList<>();
        ContractDisCountModel.PTaContractDisListDtoBean bean=new ContractDisCountModel.PTaContractDisListDtoBean();
        bean.setGrpDiscount(88);
        bean.setGstDiscount(98);
        bean.setSerial(12);
        bean.setTrnGroup("我的账务");
        bean.setTrnGroupdescp("没有描述");
        list.add(bean);
        list.add(bean);
        list.add(bean);
        list.add(bean);
        getV().setAdapter(list);
    }
}
